/**
 * Created by 000188 on 2016/7/1.
 */
document.onreadystatechange = e=> {
    if (document.readyState == 'interactive') {
        window.onresize = (function resize() {
            const html = document.documentElement;
            const width = html.clientWidth;
            html.style.fontSize = width / 320 * 10 + 'px';
            return resize;
        })();
    }
}